package com.mida.app.report.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;

/**
 * <h1>危急值转发参数</h1>
 * <p>
 *
 * </p>
 *
 * @author jian.li on 2021/8/3 20:44
 */
@Data
@Component
@EnableConfigurationProperties
@DependsOn("loadFromDatabasePropertyConfig")
public class CriticalValueForwardConfiguration {

    @Value("${critical.authorCode}")
    private String authorCode;

    @Value("${critical.clientId}")
    private String clientId;

    @Value("${critical.msgId}")
    private String msgId;

    @Value("${critical.msgPriority}")
    private String msgPriority;

    @Value("${critical.msgType}")
    private String msgType;

    @Value("${critical.msgVersion}")
    private String msgVersion;

    @Value("${critical.receiverDomainId}")
    private String receiverDomainId;

    @Value("${critical.senderDomainId}")
    private String senderDomainId;
}
